import http from "@/api";

export const getMqttGoto = () => {
	return http.get(`/sys/goto/get`);
};
export const setMqttGoto = (params: { goto: string }) => {
	return http.post(`/sys/goto/save`, params);
};
export const getDataKeep = (params: any) => {
	return http.get(`/sys/data-keep/get`, params);
};
export const saveDataKeep = (params: any) => {
	return http.post(`/sys/data-keep/save`, params);
};
export const getFileClean = (params: any) => {
	return http.get(`/sys/file-clean/get`, params);
};
export const saveFileClean = (params: any) => {
	return http.post(`/sys/file-clean/save`, params);
};
